package com.jike.noobmoney.mvp.view.activity;

import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.jike.noobmoney.R;
import com.jike.noobmoney.util.AppInfoUtils;

import butterknife.BindView;
import butterknife.OnClick;

public class AboutUsActivity extends BaseActivity {


    @BindView(R.id.tv_version)
    TextView tvVersion;
    @BindView(R.id.iv_back)
    ImageView ivBack;
    @BindView(R.id.tv_title)
    TextView tvTitle;

    @Override
    protected int layoutResID() {
        return R.layout.activity_about_us;
    }

    @Override
    protected void initData() {
        tvTitle.setText("关于我们");
        String appVersion = AppInfoUtils.getAppVersion(this);
        tvVersion.setText("小白赚钱 v" + appVersion);


    }

    @OnClick({R.id.iv_back})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.iv_back:
                finish();
                break;
        }
    }
}
